From: Cam Jackson Date: Sun, 15 Oct 2017 03:30:38 +0000 (+0800) Subject: Document how to make `build.rs` write to the terminal X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~5^2~42^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=723945cb0eae7d642caa88812c6ecee3ed5895a1;p=cargo.git Document how to make `build.rs` write to the terminal --- diff --git a/src/doc/build-script.md b/src/doc/build-script.md index d05e6ba2c..e4e528646 100644 --- a/src/doc/build-script.md +++ b/src/doc/build-script.md @@ -46,8 +46,10 @@ the source directory of the build script’s package. All the lines printed to stdout by a build script are written to a file like `target/debug/build//output` (the precise location may depend on your -configuration). Any line that starts with `cargo:` is interpreted directly by -Cargo. This line must be of the form `cargo:key=value`, like the examples below: +configuration). If you would like to see such output directly in your terminal, +invoke cargo as 'very verbose' with the `-vv` flag. Any line that starts with +`cargo:` is interpreted directly by Cargo. This line must be of the form +`cargo:key=value`, like the examples below: ```notrust # specially recognized by Cargo